package com.llkj.qingnianguoxue.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * 视频详情数据
 */
public class VideoDetailBean {

    private int state;
    private String num;
    private String leave_num;//评论数
    private VideoBean video;//视频详情数组
    private ArtistBean artist;//大师信息
    private List<CommentListBean.CommentBean> leave;//评论数组
    private List<HotRankingBean.RankingBean> hot;//相关推荐数组
    private int is_artist;//1否 2订购大师
    private int is_fans;//1 否 2赞过视频
    private int is_app;//1否 1订购app
    private int is_video;//1否 2订购视频
    private int is_shopping;//1否 2加入购物车
    private String shopping_id;//购物车id
    private String is_order;// 是否可以订阅大师 1 可以订阅（可以订阅则不可以购买视频） 2 不能订阅 （不能订阅则可以购买视频）

    public String getLeave_num() {
        return leave_num;
    }

    public void setLeave_num(String leave_num) {
        this.leave_num = leave_num;
    }

    public String getIs_order() {
        return is_order;
    }

    public void setIs_order(String is_order) {
        this.is_order = is_order;
    }

    public int getIs_shopping() {
        return is_shopping;
    }

    public void setIs_shopping(int is_shopping) {
        this.is_shopping = is_shopping;
    }

    public String getShopping_id() {
        return shopping_id;
    }

    public void setShopping_id(String shopping_id) {
        this.shopping_id = shopping_id;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public VideoBean getVideo() {
        return video;
    }

    public void setVideo(VideoBean video) {
        this.video = video;
    }

    public ArtistBean getArtist() {
        return artist;
    }

    public void setArtist(ArtistBean artist) {
        this.artist = artist;
    }

    public List<CommentListBean.CommentBean> getLeave() {
        return leave;
    }

    public void setLeave(List<CommentListBean.CommentBean> leave) {
        this.leave = leave;
    }

    public List<HotRankingBean.RankingBean> getHot() {
        return hot;
    }

    public void setHot(List<HotRankingBean.RankingBean> hot) {
        this.hot = hot;
    }

    public int getIs_artist() {
        return is_artist;
    }

    public void setIs_artist(int is_artist) {
        this.is_artist = is_artist;
    }

    public int getIs_fans() {
        return is_fans;
    }

    public void setIs_fans(int is_fans) {
        this.is_fans = is_fans;
    }

    public int getIs_app() {
        return is_app;
    }

    public void setIs_app(int is_app) {
        this.is_app = is_app;
    }

    public int getIs_video() {
        return is_video;
    }

    public void setIs_video(int is_video) {
        this.is_video = is_video;
    }

    public static class VideoBean {
        private String title;// 视频标题
        private String id;// 视频id
        private String img;// 视频图像
        private String video;// 视频文件
        private String artistId;// 大师 id
        private String addtime;// 添加时间
        private String price;// 视频价格
        private String duration;// 时长
        @SerializedName("abstract")
        private String abstractX;// 简介
        private String order_num;// 视频订阅人数
        private String classify_name;

        public String getClassify_name() {
            return classify_name;
        }

        public void setClassify_name(String classify_name) {
            this.classify_name = classify_name;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getVideo() {
            return video;
        }

        public void setVideo(String video) {
            this.video = video;
        }

        public String getArtistId() {
            return artistId;
        }

        public void setArtistId(String artistId) {
            this.artistId = artistId;
        }

        public String getAddtime() {
            return addtime;
        }

        public void setAddtime(String addtime) {
            this.addtime = addtime;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getDuration() {
            return duration;
        }

        public void setDuration(String duration) {
            this.duration = duration;
        }

        public String getAbstractX() {
            return abstractX;
        }

        public void setAbstractX(String abstractX) {
            this.abstractX = abstractX;
        }

        public String getOrder_num() {
            return order_num;
        }

        public void setOrder_num(String order_num) {
            this.order_num = order_num;
        }
    }

    public static class ArtistBean {
        private String name;
        private String img;
        private String id;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }
    }

}
